Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

use mysqli for escaping input string. fix some errors logged to system.log #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kenguest
Copy link
Contributor

mysql_real_escape_string is deprecated, use mysqli instead.

Also fix what was causing these entries in system.log:
2014-02-26T12:24:48+00:00 ERR (3): Notice: Undefined index: port in /home/kguest/bin/Wiz/app/plugins/Sql.php on line 62
2014-02-26T12:25:17+00:00 ERR (3): Notice: Undefined index: port in /home/kguest/bin/Wiz/app/plugins/Sql.php on line 51
2014-02-26T12:46:40+00:00 ERR (3): Notice: Undefined variable: batch in /home/kguest/bin/Wiz/app/plugins/Sql.php on line 86

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant